A rotating ellipse out of the third order equation in JavaScript.

Time in seconds

 

xp is the velocity in x direction. xpp is the acceleration in x direction.

xxpxppxppp

yypyppyppp

rrprpp

aapapp

Grterm1Grterm2Grterm3

Gaterm1Gaterm2

xdrawydraw

rMax

Checking the fault in the calculation

rStore1aStore1

rStore2aStore2

rStore3aStore3

rStore4aStore4

rStore5aStore5